package wechat.rcv.util;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Controller
@RequestMapping("/test")
public class TestController {

	final static Logger logger = Logger.getLogger(TestController.class.getName());
	
	@RequestMapping(method = RequestMethod.GET)
	public String testConn(Model model) {
		logger.info("***************TestController Request received!***************");

		model.addAttribute("result", "Connected!");
		return "test";
	}
	
}